<?php

namespace app\modules\Finance\models;

use Yii;

/**
 * This is the model class for table "finance_img".
 *
 * @property integer $id
 * @property integer $finance_id
 * @property string $img
 */
class FinanceImg extends \yii\db\ActiveRecord
{
    /**
     * @inheritdoc
     */
    public static function tableName()
    {
        return 'finance_img';
    }

    /**
     * @inheritdoc
     */
    public function rules()
    {
        return [
            [['finance_id'], 'integer'],
            [['img'], 'string', 'max' => 128],
        ];
    }

    /**
     * @inheritdoc
     */
    public function attributeLabels()
    {
        return [
            'id' => Yii::t('app', 'ID'),
            'finance_id' => Yii::t('app', 'Finance ID'),
            'img' => Yii::t('app', 'Img'),
        ];
    }
}
